
import 'package:app/generated/r.dart';
import 'package:flutter_jpf_core/network/http_manager.dart';
import 'package:flutter_jpf_core/widgets/jpfbutton.dart';
import 'package:flutter_jpf_core/widgets/my_appbar.dart';
import 'package:flutter_jpf_core/widgets/widget_factory.dart';
import 'package:flutter_jpf_debug/log.dart';
import 'package:flutter_jpf_debug/flutter_jpf_debug.dart';
import 'app_color.dart';


class AppConfig
{
  static void setAppConfig(){
    //导航栏颜色
    MyAppBar.bgColor = AppColor.theme_color;
    //button颜色
    JPFButton.btnColors = [AppColor.theme_color,AppColor.theme_color];
    //网络代理
    HttpManager.config(canProxy: false,proxyHost: "PROXY 172.16.56.177:8888");
    Log.dealLevel = LogLevel.debug;

    WidgetFatory.config(R.img_ic_back_top, R.img_ic_arrow_right);
  }
}